export  const lendingRoutes = [
    {
        path: '/lending/lendingRegister',
        redirect:'/lending/lendingRegister/home',
        name:'registerHome',
        children: [
            {path:'home',component:()=>import('@/views/lending/LendingRegisterView.vue')},
            {path:'record',component:()=>import('@/views/lending/form/CatMedicalRecord.vue')},
            {path:'compile',component:()=>import('@/views/lending/form/CompileRegister.vue')},
        ]
    },
    {
        path: '/lending/borrowingAudit',
        redirect:'/lending/borrowingAudit/home',
        name: 'AuditHome',
        children:[
            {path: 'home',component: () => import('@/views/lending/BorrowingAuditView.vue') },
            {path: 'record',component: () => import('@/views/lending/form/CatMedicalRecord.vue') }
        ]
    },
    {
        path: '/lending/borrowingReturn',
        redirect: '/lending/borrowingReturn/home',
        name: 'ReturnHome',
        children: [
            {path: 'home', component: () => import('@/views/lending//BorrowingReturnView.vue')},
            {path: 'record', component: () => import('@/views/lending/form/CatMedicalRecord.vue')},
        ],
    }
];



